filter "invalid-fcrdns" phase connect match !fcrdns  reject "422 No valid fcrdns."
filter "dkimsign" proc-exec "/gnu/store/rklsc9b0p0bsjh10d5hi2mxiyx2p29pl-opensmtpd-filter-dkimsign-0.5/libexec/opensmtpd/filter-dkimsign -d gnucode.me -s 2021-09-22 -c relaxed/relaxed -k /etc/dkim/private.key user nobody group nogroup"

smtp max-message-size 10M


srs ttl 5d


queue compression

mta max-deferred 50

table creds { "joshua" = "$6$Ec4m8FgKjT2F/03Y$k66ABdse9TzCX6qaALB3WBL9GC1rmAWJmaoSjFMpbhzat7DOpFqpnOwpbZ34wwsQYIK8RQlqwM1I/v6vsRq86." }
table "virtual" { "josh" = "jbranso@dismail.de" }
table domain-table { "gnucode.me", "gnu-hurd.com" }


table "senders" { "josh" = "jbranso@dismial.de,joshua@dismail.de,root.org" \
                   "james" = "james@gnu.org,james@dismail.de"}

listen on lo filter "invalid-fcrdns" tls port 25
listen on lo port 25
listen on lo filter "dkimsign" smtps port 465
listen on lo filter "dkimsign" tls-require port 587 senders <"senders">

listen on socket filter "invalid-fcrdns" tag "invalid"

action "relay" relay

action "receive" maildir "/home/%{rcpt.user}/Maildir" junk virtual <"virtual">

match for any from any auth action "relay"
match for domain <domain-table> from any action "receive"
match for local action "receive"
